//
// Created by 66477 on 2022/9/28.
//

#ifndef DATA_STRUCTURE_NODE4_3_H
#define DATA_STRUCTURE_NODE4_3_H

#include <iostream>

using namespace std;

class Node4_3 {
private:
    char data = NULL;
    Node4_3 *next = nullptr;
public:
    Node4_3() {}

    Node4_3(char data) : data(data) {}

    char getData() const {
        return data;
    }

    void setData(char data) {
        Node4_3::data = data;
    }

    Node4_3 *getNext() const {
        return next;
    }

    void setNext(Node4_3 *next) {
        Node4_3::next = next;
    }
};

#endif //DATA_STRUCTURE_NODE4_3_H
